package com.example.mapper;

import com.example.DTO.OrderItemDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface OrderItemDTOMapper {
    List<OrderItemDTO> getPaidOrderItems(@Param("offset") int offset, @Param("pageSize") int pageSize);
    int countPaidOrderItems();

}
